//package cn.stylefeng.guns.modular.api.controller;
//
//import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
//import cn.stylefeng.guns.modular.oss.cloud.OSSFactory;
//import cn.stylefeng.guns.modular.wms.model.params.ApplyLogParam;
//import cn.stylefeng.guns.modular.wms.model.params.ApplyReadParam;
//import cn.stylefeng.guns.modular.wms.model.result.ApplyLogResult;
//import cn.stylefeng.guns.modular.wms.service.ApplyLogService;
//import cn.stylefeng.guns.modular.wms.service.ApplyReadService;
//import cn.stylefeng.guns.modular.wms.service.ResumeFileService;
//import cn.stylefeng.guns.utils.MemberTokenUtil;
//import cn.stylefeng.roses.core.base.controller.BaseController;
//import cn.stylefeng.roses.core.reqres.response.ResponseData;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.*;
//import org.springframework.web.multipart.MultipartFile;
//
//import javax.annotation.Resource;
//
///**
// *文件管理
// */
//@Controller
//@RequestMapping("/api/file")
//@Api(tags = "文件管理")
//public class ApiFileController extends BaseController {
//
//    @Resource
//    private ResumeFileService resumeFileService;
//
//    /**
//     * 上传简历文件
//     */
//    @PostMapping("/uploadResumeFile")
//    public ResponseData uploadResumeFile(@RequestParam("file") MultipartFile file) {
//        try {
//            if (file.isEmpty()) {
//                return ResponseData.error("上传文件不能为空");
//            }
//            String url = resumeFileService.uploadFile(file);
//            return ResponseData.success(url);
//        } catch (Exception e) {
//            return ResponseData.error("上传失败："+e.getMessage());
//        }
//    }
//
//}
//
//
//
